home *** CD-ROM | disk | FTP | other *** search
- Path: news.interpath.net!softbase
- From: softbase@mercury.interpath.com (Scott McMahan - Softbase Systems)
- Newsgroups: comp.lang.c
- Subject: Re: key input: "hot" keys via standard libraries (unix c)
- Date: 5 Apr 1996 13:24:25 GMT
- Organization: Interpath -- Providing Internet access to North Carolina
- Message-ID: <4k36u9$mc1@news.interpath.net>
- References: <Pine.SUN.3.92.960404211350.28756B-100000@suntan>
- NNTP-Posting-Host: mercury.interpath.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Carlos Diaz (CS) (cdiaz@eng.usf.edu) wrote:
- : meet the requirements ...
- : 1) Must never print to the screen the key pressed.
- : 2) Must NOT wait for ENTER to be pressed before reading th keystroke.
- : 3) IF no key has been pressed, the program can do something else
- : (like update a clock with seconds digits) and then go back and wait for
- : the key.
-
- : Please don't refer me to non standard libraries.
-
- Unfortunately, you're not going to be able to do what you want with
- the standard library. That functionality is not available.
-
- Portability can be achieved by writing routines (or even just macros)
- in one source file that hide the access to system-specific functions.
- Then you can just rewrite the one source file for each system.
-
- Scott
-
-